/*
 * @Copyright: (C) 2019 Zhang Rida. All rights reserved.
 *
 * @Author: Zhang Rida
 * @Email: 215154317@qq.com
 * @FilePath: \WEILA_8910_PROJECT\Third-party\weilasdk\src\wlsdk\src\group_module.h
 * @Date: 2021-02-27 17:08:35
 * @Description:
 *
 * @LastEditors: Zhang Rida
 * @LastEditTime: 2021-05-13 19:25:28
 */
#ifndef _GROUP_MODULE_H
#define _GROUP_MODULE_H

#include "wlsdk_define.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef enum {
    GROUP_MSG_GET_GROUPS,

    GROUP_MSG_SYNC_GROUP_VERSION,
    GROUP_MSG_SYNC_GROUP_INFO,
    GROUP_MSG_SYNC_CORP_JOIN_GROUPS,
} group_module_msgid;

typedef struct __group_sync_ids {
    wl_uint32 count;
    wl_uint64 ids[ZERO_CONTENT_SIZE];
} group_sync_ids;

wl_int32 group_module_init(wlsdk_message_callback callback);
wl_int32 group_module_end(void);

#ifdef __cplusplus
}
#endif
#endif
